/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.component.schedule.core.config;

import lombok.*;
import lombok.experimental.FieldDefaults;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

import java.io.Serializable;

/**
 * <b>(ScheduleProperties)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/12/27
 */
@Data
@Component
@FieldDefaults(level = AccessLevel.PRIVATE)
@Builder
@Inject(value = "${hotpot.schedule}", required = false)
@NoArgsConstructor
@AllArgsConstructor
public class ScheduleProperties implements Serializable {
    @Builder.Default
    boolean enabled = false;
}